/**
 * Created by Salted fish
 * Description:
 * User: 24539
 * Date：2021-08-01
 * Time: 22:15
 */
public class Test7 {
    public static void main(String[] args) {
        int[] arry={1,3,5,7,6,2};
        System.out.println(fid(arry));
    }
    public static boolean fid(int[] arry) {
        for (int i=0;i< arry.length;i++) {
            if(arry[i]>arry[i+1]) {
                return false;
            }
        }
        return true;
    }
}
